package com.jrx.anytxn.reporting.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "batchconfig.anytxn")
public class AnyTxnBatchProperties {
    /**
     * 默认配置
     */
    private DefaultConfig defaultConfig = new DefaultConfig();

    /**
     *账户数据抽取
     */
    private DefaultConfig reportingCustomerConfig = new DefaultConfig(100,0,8,1000);

    /**
     *还款数据抽取
     */
    private DefaultConfig reportingPaymentConfig = new DefaultConfig(100,0,8,1000);

    /**
     *还款数据抽取
     */
    private DefaultConfig reportingLoanAcctConfig = new DefaultConfig(100,0,8,1000);

    /**
     *计提数据抽取
     */
    private DefaultConfig reportingInterestAccrualConfig = new DefaultConfig(100,0,8,1000);

    /**
     * 报送文件处理
     */
    private DefaultConfig fileConfig = new DefaultConfig(100,0,1,1000);



    public DefaultConfig getDefaultConfig() {
        return defaultConfig;
    }

    public void setDefaultConfig(DefaultConfig defaultConfig) {
        this.defaultConfig = defaultConfig;
    }

    public DefaultConfig getReportingCustomerConfig() {
        return reportingCustomerConfig;
    }

    public void setReportingCustomerConfig(DefaultConfig reportingCustomerConfig) {
        this.reportingCustomerConfig = reportingCustomerConfig;
    }

    public DefaultConfig getReportingPaymentConfig() {
        return reportingPaymentConfig;
    }

    public void setReportingPaymentConfig(DefaultConfig reportingPaymentConfig) {
        this.reportingPaymentConfig = reportingPaymentConfig;
    }

    public DefaultConfig getReportingLoanAcctConfig() {
        return reportingLoanAcctConfig;
    }

    public void setReportingLoanAcctConfig(DefaultConfig reportingLoanAcctConfig) {
        this.reportingLoanAcctConfig = reportingLoanAcctConfig;
    }

    public DefaultConfig getFileConfig() {
        return fileConfig;
    }

    public void setFileConfig(DefaultConfig fileConfig) {
        this.fileConfig = fileConfig;
    }

    public DefaultConfig getReportingInterestAccrualConfig() {
        return reportingInterestAccrualConfig;
    }

    public void setReportingInterestAccrualConfig(DefaultConfig reportingInterestAccrualConfig) {
        this.reportingInterestAccrualConfig = reportingInterestAccrualConfig;
    }
}
